@charset "utf-8";
/*
date：2018-11-09 ,
author: Hexiyang ,
author-blog: http://hexiyang.cn
*/

.OrderGoodsDetail {
  background-color: #efeff4;
  height: 100%;

  .info {
    background-color: #fafafa;
    border-bottom: 1rem solid #efeff4;
  }
  .cover {
    width: 100%;
    height: 24rem;
  }
  .title, .desc, .price {
    padding: .1rem 1rem
  }
  .price {
    color: red;
    font-weight: bold;
    font-size: 2.2rem;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  .sku {
    background-color: white;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    &-title {
      background-color: white;
      padding: .6rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .iconfont {
        font-size: 1rem;
        color: #bbb;
        transform: rotate(270deg);
      }
      &.show-sku {
        background-color: #eee;
        .iconfont {
          transform: rotate(90deg);
        }
      }
    }
    &-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .4rem 0;
      &.strong {
        font-weight: bold;
      }
      span, div, strong {
        flex: 1;
        text-align: center;
        &:last-child {
          flex: 2;
        }
      }
    }
    input {
      width: 3rem;
      height: 1.6rem;
      text-align: center;
    }
    .fun {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .btn {
      font-size: 1.8rem;
      font-weight: bolder;
      line-height: 100%;
      overflow: hidden;
      width: 3rem;
      padding: 0;
      color: #555;
      border: 1px solid #ccc;
      background-color: #f6f6f6;
      height: 1.9rem;
      &-reduce {
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
        border-right: none;
      }
      &-add {
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        border-left: none;
      }
    }
  }

  .order-number {
    /* width:  100%; */
    background-color: #fafafa;
    padding: 1rem;
    color: #666;
    .select {
      display: flex;
      justify-content: space-between;
      select {
        border: none;
      }
    }
  }

  article {
    padding: 1rem;
    margin-bottom: 10rem;
  }

  footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    .btn {
      text-align: center;
      flex: 1;
      line-height: 3;
      color: white;
      background-color: #838383;
      &-add {
        border-left: 1px solid white;
        background-color: #ffa64d;
      }
    }
  }
}